home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / DevPac v3.02b.adf / include / exec / interrupts.i < prev    next >
Text File  |  1991-11-20  |  1KB  |  71 lines

  1.     IFND    EXEC_INTERRUPTS_I
  2. EXEC_INTERRUPTS_I    SET    1
  3. **
  4. **    $Filename: exec/interrupts.i $
  5. **    $Release: 1.3 $
  6. **
  7. **    
  8. **
  9. **    (C) Copyright 1985,1986,1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.     IFND EXEC_NODES_I
  14.     INCLUDE "exec/nodes.i"
  15.     ENDC    ; EXEC_NODES_I
  16.  
  17.     IFND EXEC_LISTS_I
  18.     INCLUDE "exec/lists.i"
  19.     ENDC    ; EXEC_LISTS_I
  20.  
  21.  
  22. *----------------------------------------------------------------
  23. *
  24. *   Interrupt Structure
  25. *
  26. *----------------------------------------------------------------
  27.     
  28.  STRUCTURE  IS,LN_SIZE
  29.     APTR    IS_DATA
  30.     APTR    IS_CODE
  31.     LABEL   IS_SIZE
  32.  
  33.  
  34. *---------------------------------------------------------------------
  35. *
  36. *   Exec Internal Interrupt Vectors
  37. *
  38. *---------------------------------------------------------------------
  39.  
  40.  STRUCTURE  IV,0
  41.     APTR    IV_DATA
  42.     APTR    IV_CODE
  43.     APTR    IV_NODE
  44.     LABEL   IV_SIZE
  45.  
  46.  
  47. *------ System Flag bits (in SysBase.SysFlags )
  48.  
  49.     BITDEF  S,SAR,15        * scheduling attention required
  50.     BITDEF  S,TQE,14        * time quantum expended -- time to resched
  51.     BITDEF  S,SINT,13
  52.  
  53.  
  54. *---------------------------------------------------------------------
  55. *
  56. *   Software Interrupt List Headers
  57. *
  58. *---------------------------------------------------------------------
  59.  
  60.  STRUCTURE  SH,LH_SIZE
  61.     UWORD   SH_PAD
  62.     LABEL   SH_SIZE
  63.  
  64. SIH_PRIMASK  EQU    $0F0
  65. SIH_QUEUES   EQU    5
  66.  
  67. ** this is a fake INT definition, used only for AddIntServer and the like
  68.     BITDEF    INT,NMI,15
  69.  
  70.     ENDC    ; EXEC_INTERRUPTS_I
  71.